package com.bravo.friend.entity;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * @author: Yuyong
 * @create: 2019-08-30 17:09
 **/

@Entity
@Table(name = "tb_friend")
@IdClass(Friend.class)
@Data
public class Friend implements Serializable {

    @Id
    private String userId;

    @Id
    private String friendId;

    private String isLike;
}
